package com.hrm.common.exception;

import com.hrm.common.entity.ResultCode;
import lombok.Getter;

/**
 * @Author: 林海湾Sea
 * @Date :  2021/11/19 21:15
 * @Decription: 自定义异常
 */
@Getter
public class CommonException extends Exception{

    private ResultCode resultCode;

    public CommonException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }
}
